from sanic import Blueprint
from sanic.response import text
import logging
from models import X
from util.main import jsonify, is_not_blank, multiply
from util.date_utils import format
from exceptions.ssp_code import SspCodeException

main_route = Blueprint("main")
logger = logging.getLogger("main")


# 验证接口是否成功
@main_route.get("/system_monitor")
async def system_monitor(request):
    return text("SUCCESS")